package com.ctshk.rpc.bus.dto;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalTime;
import java.util.TreeMap;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 产品中心-巴士产品详情信息dto
 * </p>
 *
 * @author 彭柳霖
 * @since 2021-03-11
 */
@Data
@ApiModel(value="BusProductDetailDTO对象", description="产品中心-巴士产品详情信息dto")
public class BusProductDetailDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "巴士产品id")
    private Long id;

    @ApiModelProperty(value = "巴士公司名称")
    private String busCompaniesName;

    @ApiModelProperty(value = "出发城市名称")
    private String departureCityName;

    @ApiModelProperty(value = "到达城市名称")
    private String arriveCityName;

    @ApiModelProperty(value = "线路名称")
    private String lineName;

    @ApiModelProperty(value = "车辆类型")
    private Integer vehicleType;

    @ApiModelProperty(value = "上车站名称")
    private String boardingStationName;

    @ApiModelProperty(value = "下车站点名称")
    private String alightingStationName;

    @ApiModelProperty(value = "班次码")
    private String shiftCode;

    @ApiModelProperty(value = "出发时间")
    private LocalTime departureTime;

    @ApiModelProperty(value = "供应商名称")
    private String supplierName;

    @ApiModelProperty(value = "适用人群")
    private Long intendedFor;
    
    @ApiModelProperty(value = "适用人群名称")
    private String intendedForName;

    @ApiModelProperty(value = "负责人姓名")
    private String chargePersonName;

    @ApiModelProperty(value = "打包状态")
    private Integer packStatus;
    
    @ApiModelProperty(value = "开售类型（1：立即开售 2：定时开售）")
    private Integer saleType;

    @ApiModelProperty(value = "开售开始时间")
    private LocalDate saleBeginDate;

    @ApiModelProperty(value = "开售结束时间")
    private LocalDate saleEndDate;

    @ApiModelProperty(value = "是否二次确认")
    private Integer isConfirm;

    @ApiModelProperty(value = "预订须知")
    private String bookingInformation;

    @ApiModelProperty(value = "退改设置")
    private Integer changeSettings;

    @ApiModelProperty(value = "服务费")
    private BigDecimal serviceChargePrice;

    @ApiModelProperty(value = "退改手续费")
    private BigDecimal refundFeePrice;


    @ApiModelProperty("加幅策略每日规则列表")
    private TreeMap<LocalDate, BusProductDetailRuleDTO> dateRuleInfoMap;

}
